Other Enums

The following enums are available globally.

  • List of documented errors within the PSPDFAESCryptoInputStream.

    Note

    Used in the PSPDFAESCryptoInputStream -(NSError *)streamError method.
    See more

    Declaration

    Objective-C

    enum PSPDFAESCryptoInputStreamErrorCode {}

    Swift

    typealias AESCryptoInputStreamError.Code._ErrorType = AESCryptoInputStreamError
  • List of documented errors within the PSPDFAESCryptoOutputStream.

    Note

    Used in the PSPDFAESCryptoOutputStream -(NSError *)streamError method.
    See more

    Declaration

    Objective-C

    enum PSPDFAESCryptoOutputStreamErrorCode {}

    Swift

    typealias AESCryptoOutputStreamError.Code._ErrorType = AESCryptoOutputStreamError
  • The possible types of start- and end-point for line annotations.

    See more

    Declaration

    Objective-C

    enum PSPDFLineEndType {}

    Swift

    @frozen enum EndType : Int
  • Defines the type of an action that is defined in the PDF spec. See the Adobe PDF Specification for more about actions and action types.

    See more

    Declaration

    Objective-C

    enum PSPDFActionType {}

    Swift

    @frozen enum Kind : UInt8
  • PDF Annotation types.

    These options can be combined for fetching several types of annotations from a document or annotation provider. However, a single annotation must have a single type.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationType {}

    Swift

    struct Kind : OptionSet
  • Annotation border style types.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationBorderStyle {}

    Swift

    @frozen enum BorderStyle : UInt
  • Border effect names. See PDF Reference 1.5, 1.6. (Table 167).

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationBorderEffect {}

    Swift

    @frozen enum BorderEffect : Int
  • A set of flags specifying various characteristics of the annotation. PSPDFKit doesn’t support all of those flag settings.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationFlags {}

    Swift

    struct Flag : OptionSet
  • Trigger events for certain viewer actions. See PDF Reference 1.7, 423ff.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationTriggerEvent {}

    Swift

    @frozen enum TriggerEvent : UInt8
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFVerticalAlignment) {
        PSPDFVerticalAlignmentTop = 0,
        PSPDFVerticalAlignmentCenter = 1,
        PSPDFVerticalAlignmentBottom = 2,
        PSPDFVerticalAlignmentNone = 3
    }

    Swift

    @frozen enum VerticalAlignment : UInt
  • Categories for the author-specific state that may be associated with an annotation.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationAuthorStateModel {}
  • The sort order is currently used for bookmarks.

    See more

    Declaration

    Objective-C

    enum PSPDFBookmarkManagerSortOrder {}

    Swift

    @frozen enum SortOrder : UInt
  • Form field flags specific to button fields, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFButtonFlag {}

    Swift

    struct ButtonFlag : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFCacheStoragePolicy) {
        PSPDFCacheStoragePolicyAutomatic = 0,
    
        PSPDFCacheStoragePolicyAllowed,
        PSPDFCacheStoragePolicyAllowedInMemoryOnly,
        PSPDFCacheStoragePolicyNotAllowed,
    }

    Swift

    @frozen enum StoragePolicy : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFCacheStatus) {
        PSPDFCacheStatusNotCached,
        PSPDFCacheStatusInMemory,
        PSPDFCacheStatusOnDisk,
    }

    Swift

    @frozen enum Status : Int
  • PSPDFCacheImageSizeMatching is a bit mask that can be used to control how the cache determines if an image’s size matches a given request.

    See more

    Declaration

    Objective-C

    enum PSPDFCacheImageSizeMatching {}

    Swift

    struct ImageSizeMatching : OptionSet
  • Form field flags specific to choice fields, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFChoiceFlag {}

    Swift

    struct ChoiceFlag : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ERROR_ENUM(PSPDFCryptorErrorDomain, PSPDFCryptorErrorCode) {
        PSPDFCryptorErrorFailedToInitCryptor = 100,
        PSPDFCryptorErrorFailedToProcessFile = 110,
        PSPDFCryptorErrorInvalidIV = 200,
        PSPDFCryptorErrorWritingOutputFile = 600,
        PSPDFCryptorErrorReadingInputFile = 700,
    }

    Swift

    typealias CryptorError.Code._ErrorType = CryptorError
  • Specifies which types of operations the data provider supports. Every data provider must support reading.

    See more

    Declaration

    Objective-C

    enum PSPDFDataProvidingAdditionalOperations {}

    Swift

    struct DataProvidingAdditionalOperations : OptionSet
  • Specifies the type of PSPDFDataSink you’re requesting.

    See more

    Declaration

    Objective-C

    enum PSPDFDataSinkOptions {}

    Swift

    struct DataSinkOptions : OptionSet
  • The different transform methods (see Section 8.7.1, “Transform Methods”). DocMDP — Used to detect modifications to a document relative to a signature field that is signed by the originator of a document; see “DocMDP” on page 731. UR — Used to detect modifications to a document that would invalidate a signature in a rights-enabled document; see “UR” on page 733. FieldMDP — Used to detect modifications to a list of form fields specified in TransformParams; see “FieldMDP” on page 736. Identity — Used when signing a single object, which is specified by the value of Data in the signature reference dictionary (see Table 8.103). This transform method supports signing of FDF files. See “Identity” on page 737 for details.

    See more

    Declaration

    Objective-C

    enum PSPDFDigitalSignatureReferenceTransformMethod {}

    Swift

    @frozen enum TransformMethod : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFDiskCacheFileFormat) {
        /// JPEG encoding.
        PSPDFDiskCacheFileFormatJPEG,
        /// PNG encoding.
        PSPDFDiskCacheFileFormatPNG,
    }

    Swift

    @frozen enum FileFormat : Int
  • Document saving strategy.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentSaveStrategy {}

    Swift

    @frozen enum SaveStrategy : Int
  • Returns if JavaScript code can execute on this document.

    See more

    Declaration

    Objective-C

    enum PSPDFJavaScriptStatus {}

    Swift

    @frozen enum JavaScriptStatus : Int
  • Annotations can be saved in the PDF or alongside in an external file.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationSaveMode {}

    Swift

    @frozen enum AnnotationSaveMode : Int
  • Creates annotations based on the text content. See annotationsByDetectingLinkTypes:forPagesAtIndexes:options:progress:error:.

    See more

    Declaration

    Objective-C

    enum PSPDFTextCheckingType {}

    Swift

    struct TextCheckingType : OptionSet
  • The strategy used by the PSPDFDocumentCheckpointer to save checkpoints.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentCheckpointingStrategy {}

    Swift

    @frozen enum DocumentCheckpointingStrategy : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFDocumentOrientation) {
        PSPDFDocumentOrientationPortrait,
        PSPDFDocumentOrientationLandscape,
    }

    Swift

    @frozen enum PDFDocumentOrientation : Int
  • A set of flags specifying which operations shall be permitted when the document is opened with user access.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentPermissions {}

    Swift

    struct DocumentPermissions : OptionSet
  • An enumeration that specifies document permissions level.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentPermissionsLevel {}

    Swift

    @frozen enum DocumentPermissionsLevel : UInt
  • The algorithm to use to encrypt a document.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentEncryptionAlgorithm {}

    Swift

    @frozen enum DocumentEncryptionAlgorithm : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFDownloadManagerObjectState) {
        PSPDFDownloadManagerObjectStateNotHandled,
        PSPDFDownloadManagerObjectStateWaiting,
        PSPDFDownloadManagerObjectStateLoading,
        PSPDFDownloadManagerObjectStateFailed,
    }

    Swift

    @frozen enum ObjectState : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFEditingOperation) {
        /// One page was removed. `affectedPageIndex` specifies which index.
        PSPDFEditingOperationRemove,
        /// The page at `affectedPageIndex` was moved to `pageIndexDestination`.
        PSPDFEditingOperationMove,
        /// One page was inserted at `affectedPageIndex`.
        PSPDFEditingOperationInsert,
        /// The page at `affectedPageIndex` was rotated.
        PSPDFEditingOperationRotate,
        /// One page reference was inserted at `affectedPageIndex`.
        PSPDFEditingOperationInsertReference
    }

    Swift

    @frozen enum Operation : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFEmbeddedGoToActionTarget) {
        /// Not yet supported
        PSPDFEmbeddedGoToActionTargetParentOfCurrentDocument,
        PSPDFEmbeddedGoToActionTargetChildOfCurrentDocument,
    }

    Swift

    @frozen enum Target : UInt
  • List of documented errors within the PSPDFErrorDomain.

    Note

    Various PSPDFKit methods can also return errors from Apple error domains.
    See more

    Declaration

    Objective-C

    enum PSPDFErrorCode {}

    Swift

    typealias PSPDFKitError.Code._ErrorType = PSPDFKitError
  • The types of conflicts that PSPDFKit can detect.

    See more

    Declaration

    Objective-C

    enum PSPDFFileConflictType {}

    Swift

    enum FileConflictType : UInt
  • Defines all the available types a form field can be.

    See more

    Declaration

    Objective-C

    enum PSPDFFormFieldType {}

    Swift

    @frozen enum Kind : UInt
  • The free text annotation intent type. (Optional; PDF 1.6)

    See more

    Declaration

    Objective-C

    enum PSPDFFreeTextAnnotationIntent {}

    Swift

    @frozen enum Intent : Int
  • Specifies how a PSPDFImageDocument should save its contents.

    See more

    Declaration

    Objective-C

    enum PSPDFImageSaveMode {}

    Swift

    @frozen enum SaveMode : Int
  • Declares all possible feature flags in a license.

    See more

    Declaration

    Objective-C

    enum PSPDFFeatureMask {}

    Swift

    struct Features : OptionSet
  • Represents the status of a document in the library.

    See more

    Declaration

    Objective-C

    enum PSPDFLibraryIndexStatus {}

    Swift

    @frozen enum IndexStatus : UInt
  • Specifies the version of FTS the PSPDFLibrary should use.

    See more

    Declaration

    Objective-C

    enum PSPDFLibraryFTSVersion {}

    Swift

    @frozen enum FTSVersion : UInt
  • Specifies the priority indexing takes in task scheduling.

    See more

    Declaration

    Objective-C

    enum PSPDFLibraryIndexingPriority {}

    Swift

    @frozen enum IndexingPriority : UInt
  • Specifies what data is to be indexed to Spotlight.

    See more

    Declaration

    Objective-C

    enum PSPDFLibrarySpotlightIndexingType {}

    Swift

    @frozen enum SpotlightIndexingType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(UInt8, PSPDFLinkAnnotationType) {
        PSPDFLinkAnnotationPage = 0,
        PSPDFLinkAnnotationWebURL,
        PSPDFLinkAnnotationDocument,
        PSPDFLinkAnnotationVideo,
        /// This is a placeholder for both YouTube and Vimeo
        PSPDFLinkAnnotationYouTube,
        PSPDFLinkAnnotationAudio,
        PSPDFLinkAnnotationImage,
        PSPDFLinkAnnotationBrowser,
        /// Any annotation format that is not recognized is custom. (e.g. tel://)
        PSPDFLinkAnnotationCustom,
    }

    Swift

    @frozen enum Kind : UInt8
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_OPTIONS(NSUInteger, PSPDFLogLevelMask) {
        /// Log nothing.
        PSPDFLogLevelMaskNothing = 0,
    
        /// Logs critical issues, that can break or limit the functionality of the framework.
        /// Should never be disabled.
        PSPDFLogLevelMaskCritical = 1 << 0,
    
        /// Logs errors. Should never be disabled.
        PSPDFLogLevelMaskError = 1 << 1,
    
        /// Logs issues that are not errors or critical, but log-worthy.
        PSPDFLogLevelMaskWarning = 1 << 2,
    
        /// Logs important operations.
        PSPDFLogLevelMaskInfo = 1 << 3,
    
        /// Will log almost everything and slow down the application flow.
        PSPDFLogLevelMaskDebug = 1 << 4,
    
        /// Might log security related details like signature points.
        /// Never enable this in release builds unless they are solely for testing.
        PSPDFLogLevelMaskVerbose = 1 << 5,
    
        /// Enables all logging categories.
        PSPDFLogLevelMaskAll = UINT_MAX,
    }

    Swift

    struct LogLevelMask : OptionSet
  • Defines how a PSPDFModel property key should be encoded into an archive.

    See more

    Declaration

    Objective-C

    enum PSPDFModelEncodingBehavior {}

    Swift

    @frozen enum EncodingBehavior : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFNamedActionType) {
        /// No named action.
        PSPDFNamedActionTypeNone,
        /// Go to the next page in the document.
        PSPDFNamedActionTypeNextPage,
        /// Go to the previous page in the document
        PSPDFNamedActionTypePreviousPage,
        /// Go to the first page in the document.
        PSPDFNamedActionTypeFirstPage,
        /// Go to the last page in the document.
        PSPDFNamedActionTypeLastPage,
        /// Go back using `BackForwardActionList`. Only possible after executing another navigation action.
        PSPDFNamedActionTypeGoBack,
        /// Go forward using `BackForwardActionList`. Only possible after executing a GoBack action.
        PSPDFNamedActionTypeGoForward,
        PSPDFNamedActionTypeGoToPage,
        PSPDFNamedActionTypeFind,
        /// Shows the UI to configure and start printing the document.
        PSPDFNamedActionTypePrint,
        /// Shows `OutlineViewController` for the document.
        PSPDFNamedActionTypeOutline,
        PSPDFNamedActionTypeSearch,
        PSPDFNamedActionTypeBrightness,
        /// Not implemented.
        PSPDFNamedActionTypeZoomIn,
        /// Not implemented.
        PSPDFNamedActionTypeZoomOut,
        /// Triggers `Document.save()`.
        PSPDFNamedActionTypeSaveAs,
        PSPDFNamedActionTypeInfo,
        PSPDFNamedActionTypeUnknown = NSUIntegerMax,
    }

    Swift

    @frozen enum NamedActionType : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFPageTriggerEvent) {
        /// O (0) Action to be performed when the page is opened.
        PSPDFPageTriggerEventOpen,
        /// C (1) Action to be performed when the page is closed.
        PSPDFPageTriggerEventClose
    }

    Swift

    @frozen enum TriggerEvent : UInt
  • The type of new page that will be added

    See more

    Declaration

    Objective-C

    enum PSPDFNewPageType {}

    Swift

    @frozen enum NewPageType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFPolygonAnnotationIntent) {
        /// No intent.
        PSPDFPolygonAnnotationIntentNone = 0,
    
        /// The annotation is intended to function as a cloud object.
        PSPDFPolygonAnnotationIntentPolygonCloud,
    
        /// The polygon annotation is intended to function as a dimension. (not implemented)
        PSPDFPolygonAnnotationIntentPolygonDimension
    }

    Swift

    @frozen enum Intent : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, PSPDFPrivateKeyEncoding) {
        /// A PKCS#8 encoded private key.
        PSPDFPrivateKeyEncodingPKCS8,
        /// A PKCS#1 encoded private key. Both PEM and raw ASN.1 binary format supported.
        PSPDFPrivateKeyEncodingPKCS1,
    }

    Swift

    enum Encoding : Int
  • Specifies how a annotation should be included in the resulting document. See modifyAnnotationsOfType:change: and modifyAnnotations:change:error:.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationChange {}

    Swift

    @frozen enum AnnotationChange : Int
  • Specifies if the item (image) should be located in the foreground or background

    See more

    Declaration

    Objective-C

    enum PSPDFItemZPosition {}
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFReachability) {
        PSPDFReachabilityUnknown,
        PSPDFReachabilityUnreachable,
        PSPDFReachabilityWiFi,
        /// iOS only
        PSPDFReachabilityWWAN,
    }

    Swift

    @frozen enum ReachabilityStatus : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFRenderType) {
        /// Renders a single page.
        PSPDFRenderTypePage,
    
        /// Exports or transforms a document
        PSPDFRenderTypeProcessor,
    
        /// Useful to apply settings to all render types.
        PSPDFRenderTypeAll = NSUIntegerMax
    }

    Swift

    @frozen enum RenderType : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_OPTIONS(NSUInteger, PSPDFRenderFilter) {
        /// If set, a grayscale filter will be applied.
        PSPDFRenderFilterGrayscale = 1 << 0,
    
        /// If set and `invertRenderColor` is `true`, the inverted mode (a.k.a. night mode) will be rendered color correct.
        PSPDFRenderFilterColorCorrectInverted = 1 << 1,
    
        /// If set, a sepia filter will be applied.
        PSPDFRenderFilterSepia = 1 << 2
    }

    Swift

    struct RenderFilter : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFRenderQueuePriority) {
        /// Used for unspecified renderings with the lowest priority.
        PSPDFRenderQueuePriorityUnspecified = 0,
    
        /// Used for renderings that the user is not aware of, such as building a cache in the background.
        PSPDFRenderQueuePriorityBackground = 100,
    
        /// Used for renderings that the user might see but that are not necessary to complete, such as generating thumbnails that are not necessary for the user to properly work with a document but.
        PSPDFRenderQueuePriorityUtility = 200,
    
        /// Used for renderings that the user requested but that are not required for the user to keep using a document.
        PSPDFRenderQueuePriorityUserInitiated = 300,
    
        /// Used for renderings that the user requested and that are currently blocking their workflow.
        PSPDFRenderQueuePriorityUserInteractive = 400,
    }

    Swift

    @frozen enum Priority : UInt
  • The render request cache policy controls if and how the request, once scheduled, access the cache.

    See more

    Declaration

    Objective-C

    enum PSPDFRenderRequestCachePolicy {}

    Swift

    @frozen enum CachePolicy : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFRenditionActionType) {
        PSPDFRenditionActionTypeUnknown = -1,
        PSPDFRenditionActionTypePlayStop,
        PSPDFRenditionActionTypeStop,
        PSPDFRenditionActionTypePause,
        PSPDFRenditionActionTypeResume,
        PSPDFRenditionActionTypePlay,
    }

    Swift

    @frozen enum Kind : Int
  • Flags for reset-form actions, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFResetFormActionFlag {}

    Swift

    struct Flag : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFMediaScreenWindowType) {
        PSPDFMediaScreenWindowTypeFloating,
        PSPDFMediaScreenWindowTypeFullscreen,
        PSPDFMediaScreenWindowTypeHidden,
        /// Default value
        PSPDFMediaScreenWindowTypeUseAnnotationRectangle,
    }

    Swift

    @frozen enum MediaScreenWindowType : UInt
  • Configures the style of a digital signature.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureAppearanceMode {}

    Swift

    @frozen enum Mode : UInt
  • The different kinds of input methods we support for creating a handwritten signature.

    See more

    Declaration

    Objective-C

    enum PSPDFDrawInputMethod {}

    Swift

    @frozen enum DrawInputMethod : UInt
  • Defines the possible biometric properties to store in a digital signature.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureBiometricPropertiesOption {}

    Swift

    struct Option : OptionSet
  • The supported encryption algorithms that can be used when signing a document.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureEncryptionAlgorithm {}

    Swift

    @frozen enum PDFSignatureEncryptionAlgorithm : UInt
  • A hash algorithm or hash function is a function that maps data of arbitrary size to data of a fixed size. In the context of PDF, this arbitrary data may represent a part of a document. The output of a hash function is always identical if the input data is the same. This fact can be used to check if a document has been altered intentionally or accidentally.

    PSPDFKit supports several hash functions. This list is not a complete list of every hash algorithm that is available. Some hash algorithms are not supported yet by the PDF specification for their use in digital signatures.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureHashAlgorithm {}

    Swift

    @frozen enum PDFSignatureHashAlgorithm : UInt
  • Severity of a signature validation problem

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureStatusSeverity {}

    Swift

    @frozen enum Severity : Int
  • Integrity status of a signature field.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureIntegrityStatus {}

    Swift

    @frozen enum Integrity : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ERROR_ENUM(PSPDFSignerErrorDomain, PSPDFSignerErrorCode) {
        /// No error during the signing process.
        PSPDFSignerErrorNone = noErr,
        /// A signature form element was not found in the document.
        PSPDFSignerErrorNoFormElementSet = 0x1,
        /// An error occurred while generating the PKCS#7 structure.
        PSPDFSignerErrorCannotNotCreatePKCS7 = 0x100,
        /// A problem occurred while adding the signature to the PKCS#7.
        PSPDFSignerErrorCannotNotAddSignatureToPKCS7 = 0x101,
        /// A problem occurred while initializing the PKCS#7 structure.
        PSPDFSignerErrorCannotNotInitPKCS7 = 0x102,
        /// An error occurred while generating the PKCS#7 signature.
        PSPDFSignerErrorCannotGeneratePKCS7Signature = 0x103,
        /// A problem occurred while writing the PKCS#7 signature to the document.
        PSPDFSignerErrorCannotWritePKCS7Signature = 0x104,
        /// The document was signed correctly but couldn't be verified afterwards.
        PSPDFSignerErrorCannotVerifySignature = 0x105,
        /// The signed document could not be created. Check that you have the necessary permissions for the destination folder.
        PSPDFSignerErrorCannotSaveToDestination = 0x106,
        /// The sub-filter type specified to create the signature is not supported.
        PSPDFSignerErrorUnsupportedSubfilterType = 0x107,
        /// Cannot find the signature, either in a new or existing document.
        PSPDFSignerErrorCannotFindSignature = 0x108,
        /// The attributes could not be signed.
        PSPDFSignerErrorCannotSignAttributes = 0x109,
        /// The form element could not be signed.
        PSPDFSignerErrorCannotSignFormElement = 0x110,
        /// The form element is already digitally signed, so it does not make sense to digitally sign it again.
        PSPDFSignerErrorCannotSignAlreadySigned = 0x111,
        /// The byte range of the document could not be hashed.
        PSPDFSignerErrorCouldNotHashDocument = 0x112,
    }

    Swift

    typealias PDFSignerError.Code._ErrorType = PDFSignerError
  • Sound annotation recording and playback states.

    See more

    Declaration

    Objective-C

    enum PSPDFSoundAnnotationState {}

    Swift

    @frozen enum State : Int
  • Flags for submit-form actions, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFSubmitFormActionFlag {}

    Swift

    struct Flag : OptionSet
  • Form field flags specific to text fields, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFTextFieldFlag {}

    Swift

    struct TextFieldFlag : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFTextInputFormat) {
        PSPDFTextInputFormatNormal,
        PSPDFTextInputFormatNumber,
        PSPDFTextInputFormatDate,
        PSPDFTextInputFormatTime,
    }

    Swift

    @frozen enum TextInputFormat : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFUndoCoalescing) {
        /// Does not coalesce events with the same key at all but rather creates one new undo event for every single change.
        PSPDFUndoCoalescingNone,
    
        /// Coalesces events with the same key by time. Assuming that a key changes a number of times over a
        /// short period of time, only the initial value will be recorded.
        PSPDFUndoCoalescingTimed,
    
        /// Puts all subsequent changes to one key into the same group. This means that constant changes
        /// of the same value will result in exactly one event, which restores the property to its initial value.
        PSPDFUndoCoalescingAll
    }

    Swift

    @frozen enum UndoCoalescingg : UInt